package com.itmsoft.util;

import javax.interceptor.Interceptor;

import org.springframework.beans.factory.access.BeanFactoryLocator;
import org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor;

@Interceptor
public class BeanAutowiringInterceptor extends SpringBeanAutowiringInterceptor
{
    @Override
    protected BeanFactoryLocator getBeanFactoryLocator(Object target)
    {
        return ContextSingletonBeanFactoryLocator.getInstance();
    }
}
